package com.steel.yfmall.cloud.assistant.controller;

import com.steel.yfmall.cloud.assistant.api.stock.ZgOrderService;
import com.steel.yfmall.cloud.components.utils.base.APIMsgBean;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @version 1.0
 * @ClassName: TestController
 * @author: TQ
 * @Description: DOTO
 * @Date Create in 17:27 2020/11/19
 **/
@RestController
@Slf4j
public class TestController {

    @RequestMapping(value = "/testCall")
    APIMsgBean<String> insertSearchRecordInfo() {
        if (log.isDebugEnabled()) {
            log.debug("Fun insertSearchRecordInfo:");
        }
//        return zgOrderService.createPushOrder();
        return null;
    }

    @Resource
    private ZgOrderService zgOrderService;
}
